Carbon


FSCloseFork

Header: Files.h Carbon status: Supported

Causes all data written to the open fork to be written to disk, and then closes the open fork.

OSErr FSCloseFork (
    SInt16 forkRefNum
);
forkRefNum

The reference number of the fork to close. After the call to this function, the reference number in this parameter is invalid.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)